package com.hqyj.shop.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.hqyj.shop.pojo.ShowGoods;
import com.hqyj.shop.pojo.PageData;


import java.util.List;

public interface ShowGoodsSerice {
    List<ShowGoods> queryAll();
    List<ShowGoods> queryByName(String name);
    List<ShowGoods> queryByCategory(String category);
    String getImageUrl(ShowGoods showGoods);
    ShowGoods queryById(int id);
    List<ShowGoods> queryPutOn();
    PageData<ShowGoods> queryByPage(int pageNumber, int pageSize);
    List<ShowGoods> queryBySearch(String search);
    List<ShowGoods> queryByMoneyMore(double money);
    List<ShowGoods> queryByMoneyLess(double money);
    PageData<ShowGoods> getGoodsByPage(int pageNumber, int pageSize, PageInfo<ShowGoods> pageInfo);
    int addadd(int id,String add);
}